package tpo.lmhprovider.lmhprovider.service;

import com.github.pagehelper.PageInfo;
import dto.GetStock;
import dto.ShowStock;
import dto.ShowStock_list;
import dto.SubStock;
import pojo.Db_order;
import pojo.Stock_list;
import pojo.Stock_order;
import until.MyException;

import java.sql.SQLException;
import java.util.List;
import java.util.Map;

public interface StockService {
    int addStock_order(GetStock getStock) throws SQLException;
    int addStock_list(List<Stock_list> list);
    int upStock_order(GetStock getStock);
    int nextStock_order(Map map) throws SQLException;
    int subStock(List<SubStock> list) throws SQLException;
    int addStock(List<SubStock> list) throws SQLException;
    PageInfo<ShowStock> getStock_order(Map map);
    List<ShowStock_list> getStock_list(Map map);
    int delStock_order(String code);
    int delStock_list(String stockCode);
    PageInfo<ShowStock> getDb_order(Map map);
    int addDb_order(GetStock getStock) throws SQLException;
    int nextDb_order(Map map);
    PageInfo<Stock_list> getMingXi(Map map);
}
